<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
   <!-- <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, target-densitydpi=device-dpi" name="viewport" >-->
    <link rel="stylesheet" type="text/css" th:href="@{/static/css/reset.css}">
    <link rel="stylesheet" type="text/css" th:href="@{/static/css/weichat.css}">
    <title>My Wallet</title>
</head>
<body>
<div class="wrap">
    <div class="top-bar">
        <h1>零钱</h1>
    </div>
    <div class="wallet-content">
        <div class="wallet-box">
            <div class="wallet-more"><a th:href="@{'/getMoneyRecord?teacherId='+${teacher.teacherId}}" ><b>零钱明细</b></a></div>
            <img th:src="@{/static/image/gs/aq.png}"/>
            <h2>我的零钱</h2>
            <h3>￥<b style="font-weight: bolder">[[${teacher.teacherMoney}]]</b></h3>
            <button class="in-int">提现</button>
            <button class="out"  >绑定或更新卡号</button>
        </div>
    </div>
</div>
</body>
<script >
    /**
     * 教师钱包
     */
    window.onload=function()
    {
        var getOut=document.getElementsByClassName("out")[0];
        getOut.onclick=function()
        {
            location.href='addZhifubao/'+[[${teacher.teacherId}]];
        };
        var getIn=document.getElementsByClassName("in-int")[0];
        getIn.onclick=function()
        {
            location.href='/tixianMessage/'+[[${teacher.teacherId}]];

        };
    };
</script>
</html>
